/**
 * Created by wangyang on 2019-07-09.
 * itwangyang@gmail.com
 * http://www.itwangyang.xyz
 */
const path = require('path');
const resolve = dir=> path.join(__dirname,dir);
const BASE_URL = process.env.NOOE_ENV==='procution' ? '/iview-admin/':'/';
module.exports= {
  baseUrl:BASE_URL,
  chainWebpack:configurable =>{
    config.resolve.alias
      .set('@',resolve('src'))
      .set('_c',resolve('src/components'))
  }
};
